//
//  WLButtonCountdownManager.h
//  WLButtonCountingDownDemo
//
//  Created by wayne on 16/1/14.
//  Copyright © 2016年 ZHWAYNE. All rights reserved.
//

#import <Foundation/Foundation.h>

@class WLCountdownTask;
NS_ASSUME_NONNULL_BEGIN
@interface WLButtonCountdownManager : NSObject

/**
 *  获取单例
 *
 *  @return 该类的唯一实例
 */
+ (instancetype)defaultManager;

- (void)startCounDown:(NSTimeInterval)count finished:(void (^)(NSTimeInterval count))finished;

@property(nonatomic, assign, readonly)BOOL stop;

@property (nonatomic, strong) NSOperationQueue *pool;

- (void)stopTask;


@end
NS_ASSUME_NONNULL_END

